import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { CasePageModule, CasePageRouterModule } from '../../business/case-page/api';
import { Demo1Module } from './demo1/demo1.module';
import { Demo2Module } from './demo2/demo2.module';
import { Demo3Module } from './demo3/demo3.module';
import { DisabledDateTimeModule } from './disabled-date-time/disabled-date-time.module';
import { Demo5Module } from './demo5/demo5.module';
import { PresetDateRangeModule } from './preset-date-range/preset-date-range.module';
import { Demo7Module } from './demo7/demo7.module';
import { Demo8Module } from './demo8/demo8.module';
import { Demo9Module } from './demo9/demo9.module';
import { CustomStyleModule } from './custom-style/custom-style.module';
import { PickerModeModule } from './picker-mode/picker-mode.module';
import { Demo12Module } from './demo12/demo12.module';
import { Demo13Module } from './demo13/demo13.module';
import { Demo15Module } from './demo15/demo15.module';
import { Demo16Module } from './demo16/demo16.module';

const ComponentModules = [
  Demo1Module,
  Demo2Module,
  Demo3Module,
  DisabledDateTimeModule,
  Demo5Module,
  PresetDateRangeModule,
  Demo7Module,
  Demo8Module,
  Demo9Module,
  CustomStyleModule,
  PickerModeModule,
  Demo12Module,
  Demo13Module,
  Demo15Module,
  Demo16Module
];

@NgModule({
  imports: [CommonModule, CasePageModule, CasePageRouterModule, FormsModule, ...ComponentModules]
})
export class DatePickerDemoModule {}
